package com.itlin.pojo;

import java.io.Serializable;
import java.sql.Timestamp;

public class Book implements Serializable{
	private Integer id;
	private String cn_notebook_name;
	private String cn_notebook_desc;
	private Timestamp cn_notebook_createtime;
	private Integer cn_notebook_type_id;
	//关联查询
	private User user;
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getCn_notebook_name() {
		return cn_notebook_name;
	}
	public void setCn_notebook_name(String cn_notebook_name) {
		this.cn_notebook_name = cn_notebook_name;
	}
	public String getCn_notebook_desc() {
		return cn_notebook_desc;
	}
	public void setCn_notebook_desc(String cn_notebook_desc) {
		this.cn_notebook_desc = cn_notebook_desc;
	}
	public Timestamp getCn_notebook_createtime() {
		return cn_notebook_createtime;
	}
	public void setCn_notebook_createtime(Timestamp cn_notebook_createtime) {
		this.cn_notebook_createtime = cn_notebook_createtime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCn_notebook_type_id() {
		return cn_notebook_type_id;
	}

	public void setCn_notebook_type_id(Integer cn_notebook_type_id) {
		this.cn_notebook_type_id = cn_notebook_type_id;
	}

	@Override
	public String toString() {
		return "Book{" +
				"id=" + id +
				", cn_notebook_name='" + cn_notebook_name + '\'' +
				", cn_notebook_desc='" + cn_notebook_desc + '\'' +
				", cn_notebook_createtime=" + cn_notebook_createtime +
				", cn_notebook_type_id=" + cn_notebook_type_id +
				", user=" + user +
				'}';
	}
}
